import { App } from 'vue'
import Button from './Button'

type SFCWithInstall<T> = T & { install(app: App): void }

Button.install = (app: App) => {
  app.component(Button.name, Button)
}

export default Button as SFCWithInstall<typeof Button>
